/*
 * Android Runner is a multiplayer GPS game fully written by "Xurxo Mendez Perez"
 * 
 * Copyright (C) 2010 "Xurxo Mendez Perez"
 *   
 * This file is part of Android Runner.
 * 
 * Android Runner is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Android Runner is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Android Runner.  If not, see <http://www.gnu.org/licenses/>.
 */

package es.sonxurxo.androidrunner.model.service.game.to;

import java.util.ArrayList;
import java.util.List;

/**
 * @author "Xurxo Mendez Perez"
 *
 */
public class ObserveGameResponseTO {

	private String city;
	private int pointsToWin;
	private int maxPlayers;
	private List<InGamePlayerInfoTO> inGamePlayerInfoTOs = 
		new ArrayList<InGamePlayerInfoTO>();
	private List<MessageTO> messages = 
		new ArrayList<MessageTO>();
	private List<ItemTO> items =
		new ArrayList<ItemTO>();
	
	public ObserveGameResponseTO(String city, int pointsToWin,
			int maxPlayers,
			List<InGamePlayerInfoTO> inGamePlayerInfoTOs,
			List<MessageTO> messages, List<ItemTO> items) {
		super();
		this.city = city;
		this.pointsToWin = pointsToWin;
		this.maxPlayers = maxPlayers;
		this.inGamePlayerInfoTOs = inGamePlayerInfoTOs;
		this.messages = messages;
		this.items = items;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public int getPointsToWin() {
		return this.pointsToWin;
	}

	public void setPointsToWin(int pointsToWin) {
		this.pointsToWin = pointsToWin;
	}

	public int getMaxPlayers() {
		return this.maxPlayers;
	}

	public void setMaxPlayers(int maxPlayers) {
		this.maxPlayers = maxPlayers;
	}

	public List<InGamePlayerInfoTO> getInGamePlayerInfoTOs() {
		return this.inGamePlayerInfoTOs;
	}

	public void setInGamePlayerInfoTOs(List<InGamePlayerInfoTO> inGamePlayerInfoTOs) {
		this.inGamePlayerInfoTOs = inGamePlayerInfoTOs;
	}

	public List<MessageTO> getMessages() {
		return this.messages;
	}

	public void setMessages(List<MessageTO> messages) {
		this.messages = messages;
	}

	public List<ItemTO> getItems() {
		return this.items;
	}

	public void setItems(List<ItemTO> items) {
		this.items = items;
	}
}
